package com.example.ojcommencore.core.enums;

import lombok.Data;
import lombok.Getter;

@Getter
public enum UserIdentity {
    ADMIN(2, "管理员"),
    ORDINARY(1, "普通用户");
    private Integer value;
    private String des;

    UserIdentity(Integer value, String des) {
        this.des = des;
        this.value = value;
    }
}
